import sys
from PyQt5.QtWidgets import QWidget, QApplication
from out_ui_py.demo import *

'''
    逻辑文件 调用界面文件
'''


class MyMainWidget(QWidget, Ui_Form):

    def __init__(self, parent=None):
        super(MyMainWidget, self).__init__(parent)
        self.setupUi(self)


if __name__ == "__main__":
    app = QApplication(sys.argv)
    obj = MyMainWidget()

    obj.show()
    sys.exit(app.exec())
